{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>
<style type="text/css">
	.bg-1 {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}
 .radius:hover{
 	color: #fff;
	border-color: #66b1ff;
	background-color: #66b1ff;
 }
 input:hover{
 	color: #333;
 }
  .btn-primary {
    color: #fff;
    background-color: #5a98de;
    border-color: #5a98de;
    height: 31px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 24px !important;
}
</style>
<body>
	
<nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    代理管理
    <span class="c-gray en">&gt;</span>
    声音提醒
    <span class="c-gray en">&gt;</span>
    代理申请提醒设置
    <a class="btn btn-success radius r"
       style="line-height: 1.6em; margin-top: 3px"
       href="javascript:location.replace(location.href);" title="刷新">
        <i class="Hui-iconfont">&#xe68f;</i>
    </a>
</nav>

<div style="padding:20px;height:30px;">
  	
  	<div class="new_box">
<div id="ms_st"></div>
<article class="page-container">
    <form class="form form-horizontal" action="" id="form-admin-add" method="post">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">当前选择：</label>
            <div class="formControls col-xs-8 col-sm-9">
                {$voice.mp3_name}
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">代理申请提示声音：</label>
            <div class="formControls col-xs-8 col-sm-9 skin-minimal" style="width: 202px;">
                <select class="select" size="1" name="voice" id="dl_voice">
                    {volist name="list" id="item"}
                    <option value="{$item.id}" {$item.id==$voice.id?'selected':''}>{$item.mp3_name}</option>
                    {/volist}
                </select>
            </div>
            <a href="javascript:;" onclick="misc_shiting('3')" class="btn btn-primary radius upload-btn">
                试听
            </a>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">代理申请提醒范围：</label>
            <div class="formControls col-xs-8 col-sm-9 skin-minimal">
                <div class="radio-box" style="padding-left: 0px;">
                    <input name="dl_class" type="radio" id="sex-1" value="1" {$voice.dl_class=='1'||empty($voice)?'checked':''} />
                    <label for="sex-1">全站提醒</label>
                </div>
                <div class="radio-box">
                    <input name="dl_class"  type="radio" id="sex-2" value="2" {$voice.dl_class=='2'?'checked':''} >
                    <label for="sex-2">代理申请页面</label>
                </div>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-2">代理申请提醒开关：</label>
            <div class="formControls col-xs-8 col-sm-9 skin-minimal">
                <div class="radio-box" style="padding-left: 0px;">
                    <input name="dl_open" type="radio" id="sex-3" value="1" {$voice.dl_open=='1'?'checked':''} />
                    <label for="sex-3">开</label>
                </div>
                <div class="radio-box">
                    <input name="dl_open" type="radio" id="sex-4" value="0" {$voice.dl_open=='0'||empty($voice)?'checked':''} >
                    <label for="sex-4">关</label>
                </div>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
                <button class="btn btn-primary radius" name="submit" type="submit">
                    <i class="Hui-iconfont">&#xe632;</i>
                    保存
                </button>
            </div>
        </div>
    </form>
</article>

</div>
	</div>
{/block}
{block name="js"}
<script type="text/javascript" src="__SYSMET__/h-ui.admin/js/voice.js"></script>
{/block}